package com.example.demo.test;/**
 * Created by kete on 2018-12-03.
 */


import java.util.Date;

/**
 * 作者：kete
 * 创建时间：2018-12-03 10:29
 * 功能描述：
 * 版本：
 */

public class TempUrl  {

    private String accountNo;

    private String url;

    private String dt;

    private String newUrl;

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDt() {
        Date date = DateUtil.parseDate(dt);
        return DateUtil.getYearMonth(date);
    }

    public void setDt(String dt) {
        this.dt = dt;
    }

    public String getNewUrl() {
        return newUrl;
    }

    public void setNewUrl(String newUrl) {
        this.newUrl = newUrl;
    }

    @Override
    public String toString() {
        return "TempUrl{" +
                "accountNo='" + accountNo + '\'' +
                ", url='" + url + '\'' +
                ", dt='" + dt + '\'' +
                ", newUrl='" + newUrl + '\'' +
                '}';
    }
}
